package com.bupt.fmmall.entity;

/*
* au:lyh
* 商品的实体类
* */
public class Product {

    //商品id
    private int itemId;
    //商品名称
    private String itemName;
    //类别id
    public int itemTypeId;
    //数量
    private int itemNumber;
    //价格
    private int itemPrice;
    //图片路径
    private String itemImg;
    //描述
    public String itemIntro;
    //商家id
    public String itemOwner;


    public Product(String itemName, int itemTypeId, int itemPrice, String itemImg, String itemOwner, int itemNumber, String itemIntro) {
        this.itemName = itemName;
        this.itemTypeId = itemTypeId;
        this.itemPrice = itemPrice;
        this.itemImg = itemImg;
        this.itemOwner = itemOwner;
        this.itemNumber = itemNumber;
        this.itemIntro = itemIntro;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public int getItemTypeId() {
        return itemTypeId;
    }

    public void setItemTypeId(int itemTypeId) {
        this.itemTypeId = itemTypeId;
    }

    public int getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(int itemPrice) {
        this.itemPrice = itemPrice;
    }

    public String getItemImg() {
        return itemImg;
    }

    public void setItemImg(String itemImg) {
        this.itemImg = itemImg;
    }

    public String getItemOwner() {
        return itemOwner;
    }

    public void setItemOwner(String itemOwner) {
        this.itemOwner = itemOwner;
    }

    public int getItemNumber() {
        return itemNumber;
    }

    public void setItemNumber(int itemNumber) {
        this.itemNumber = itemNumber;
    }

    public String getItemIntro() {
        return itemIntro;
    }

    public void setItemIntro(String itemIntro) {
        this.itemIntro = itemIntro;
    }
}
